package com.example.demo.po.report;

import com.example.demo.vo.report.SimilarReportVO;
import lombok.Data;

@Data
public class SimilarReport {
    private int rid1;
    private int rid2;
    private int baseRid;
    private double sim;
    public SimilarReport(){}
    public SimilarReport(int rid1, int rid2, int baseRid,double sim) {
        this.rid1 = rid1;
        this.rid2 = rid2;
        this.sim = sim;
        this.baseRid=baseRid;
    }
    public SimilarReport(SimilarReportVO similarReportVO){
        this.rid1=similarReportVO.getRid1();
        this.rid2=similarReportVO.getRid2();
        this.sim=similarReportVO.getSimilarity();
        this.baseRid=similarReportVO.getBaseRid();
    }
}
